package org.jeecg.modules.param.pile.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.param.pile.entity.BikePile;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Description: bike_pile
 * @Author: 月月鸟
 * @Date:   2021-05-19
 * @Version: V1.0
 */
public interface BikePileMapper extends BaseMapper<BikePile> {

    BikePile selectMaxCode(String id);

    List<BikePile> pageList(BikePile bikePile);


    /**
     * 根据字典值获取key （语音专用）
     * */
    String dictKeyByValue(String key);

    List<BikePile> getPileList(BikePile bikePile);

    Page<BikePile> iPageList(Page<BikePile> page, @Param("bikePile") BikePile bikePile);

    void updateStatusById(@Param("ids") String[] ids,@Param("status") String status);


}
